package cn.mianxZY4;

public class PM extends Employee {
    public String getYearsOfExperience() {
        return yearsOfExperience;
    }

    public void setYearsOfExperience(String yearsOfExperience) {
        this.yearsOfExperience = yearsOfExperience;
    }

    private String yearsOfExperience;
public PM(String name, String address, String telphone, String email, String office,
           String hiredate,double salary,String yearsOfExperience){
    super(name,address,telphone,email,office,hiredate,salary);
    this.yearsOfExperience=yearsOfExperience;

}
 public void PMshow(){
     System.out.println("姓名："+super.getName());
     System.out.println("地址："+super.getAddress());
     System.out.println("电话："+super.getTelphone());
     System.out.println("邮箱："+super.getEmail());
     System.out.println("办公："+super.getOffice());
     System.out.println("收购日期："+super.getHiredate());
     System.out.println("工资："+super.getSalary());
     System.out.println("管理经验："+this.yearsOfExperience);
 }

}
